package com.jrx.anytxn.customer.service;

import com.jrx.anytxn.common.exception.TxnBizException;
import com.jrx.anytxn.customer.dto.customer.LimitAdjustSummary;
import com.jrx.anytxn.customer.dto.customer.TlBatchAdjustLimitRes;
import com.jrx.anytxn.i18n.response.TxnPage;

import java.util.List;

public interface IAdjustListSummaryService {

    /**
     * 分页查询批量调额汇总信息
     * @param pageNum
     * @param pageSize
     * @param tenantId
     */
    TxnPage<TlBatchAdjustLimitRes> findAllPageByTenantId(Integer pageNum, Integer pageSize, String tenantId) throws TxnBizException;

    /**
     * 生成调额汇总信息文件
     * @param batchId
     * @param tenantId
     * @param fileName
     * @return
     */
    List<LimitAdjustSummary> createExcelMessage(String batchId, String tenantId, String fileName) throws TxnBizException;

}
